<template>
  <div class="layout">
    <div class="content">
        <slot></slot>
    </div>
    <Nav></Nav>
  </div>
</template>

<script setup lang="ts">
import Nav from "./Nav.vue";
</script>

<style lang="scss" scoped>
.layout{
    height: 100vh;
    display: flex;
    flex-direction: column;
    .content{
      overflow: auto;
      flex-grow: 1;
    }
}
</style>
